package com.yonyou.pmclouds.completedcollate.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.completedcollate.entity.CompletedCollateVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CompletedCollateVOMapper extends BaseMapper<CompletedCollateVO> {

    CompletedCollateVO queryByPrimaryKey(String pkCompletedCollate);

    int pageCount(@Param("conditions") String[] conditions, @Param("start") Integer start, @Param("limit") Integer limit, @Param("pkTenant") String pkTenant, @Param("pkProjects") String[] pkProjects);

    List<CompletedCollateVO> querypagebyconditions(@Param("conditions") String[] conditions, @Param("start") Integer start, @Param("limit") Integer limit, @Param("pkTenant") String pkTenant, @Param("pkProjects") String[] pkProjects);

    List<CompletedCollateVO> queryByName(@Param("name") String name, @Param("pkTenant") String pkTenant);

    List<CompletedCollateVO> queryByCatalogPk(@Param("catalogPk") String catalogPk, @Param("pkTenant") String pkTenant);
}